#!/usr/bin/env bash
echo "git pull code "
git pull
echo "git pull done "
pm2 stop pl-mobile-home
echo "server stop "
pm2 delete pl-mobile-home
echo "delete pm2 pl-mobile-home"
npm run deploy
echo "deploy done"
pm2 start ./release.json
echo "server start success"
pm2 list